package com.supermali.behavior.up;

public abstract class UpBehavior {

    private int status = 0; // 0已结束，1未结束

    public abstract void up(long delta);

    public boolean isOver(){
        return status==0;
    }

    public void start(){
        status = 1;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
